import http from "@/api";
import { PORT1 } from "@/api/config/servicePort";

// 获取用户列表
export const getUserListApi = (params: any) => {
	return http.post(PORT1 + "/sysUser/list", params, {});
};

// 添加用户
export const addUserApi = (params: any) => {
	return http.post(PORT1 + "/system/user/addUser", params, {});
};

// 编辑用户
export const updateUserApi = (params: any) => {
	return http.post(PORT1 + "/system/user/updateUser", params, {});
};

// 删除用户
export const deleteUserApi = (params: any) => {
	return http.post(PORT1 + "/system/user/deleteUser", params, {});
};
